new Vue({
    el:"#app",
    data: {
        city: '',
        WeatherList:[]
    },
    methods:{
        searchWeather:function () {
            console.log("天气查询");
            axios.get('http://wthrcdn.etouch.cn/weather_mini?city='+this.city)
                .then(function (response) {
                    console.log(response);

                })
                .catch(function (err) {

                })
        }
    }
})
